home *** CD-ROM | disk | FTP | other *** search
/ Geek Games #12 / GEGA012.iso / Jogos de Azar / blackjack1.swf / scripts / DefineButton2_214 / BUTTONCONDACTION on(release).as < prev   
Text File  |  2006-01-17  |  502b  |  25 lines

  1. on(release){
  2.    if(betting == false)
  3.    {
  4.       return undefined;
  5.    }
  6.    if(currentBet[0] >= 176)
  7.    {
  8.       return undefined;
  9.    }
  10.    chip25Val++;
  11.    insurance == false;
  12.    double = false;
  13.    if(chip25Val == 4)
  14.    {
  15.       chip25Val = 0;
  16.       chip100Val++;
  17.    }
  18.    _root.gotoAndStop("start");
  19.    CashAdd(25);
  20.    c++;
  21.    _root.chip25_.duplicateMovieClip("chip" + c,c);
  22.    setProperty("chip" + c, _X, posChipx[random(7)]);
  23.    setProperty("chip" + c, _Y, posChipy[random(6)]);
  24. }
  25.